
#ifndef Comment_h
#define Comment_h
#import <Foundation/Foundation.h>
// TODO: complete CommentModel parser

@interface Comment : NSObject
@property (nonatomic, retain) NSString *ID;
@property (nonatomic, retain) NSString *ContentID;
@property (nonatomic, retain) NSString *FatherID;
@property (nonatomic, retain) NSString *UserID;
@property (nonatomic, retain) NSString *UserName;
@property (nonatomic, retain) NSString *UserAvatar;
@property (nonatomic, assign) NSInteger UserGender;
@property (nonatomic, assign) NSInteger Date;
@property (nonatomic, retain) NSString *Content;
@property (nonatomic, assign) NSInteger LikeNum;

// Comment
@property (nonatomic, retain) NSMutableArray<Comment*> *replies;
// Reply
@property (nonatomic, retain) NSString *FatherName;
@property (nonatomic, retain) NSString *FatherAvatar;
@property (nonatomic, assign) NSInteger FatherGender;

 - (instancetype) initWith:(NSDictionary*)dict;
@end

@interface CommentReq : NSObject
@property (nonatomic, retain) NSString *contentId;
@property (nonatomic, retain) NSString *fatherId;
@property (nonatomic, retain) NSString *content;
@property (nonatomic, assign) bool isReply;
@end

#endif
